package com.cyj.dao;

import com.cyj.entity.AnimeComment;
import com.cyj.pojo.AnimeCommentVo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
@Mapper
public interface AnimeCommentDao {
    AnimeCommentVo selectAnimeCommentVo(Map map);

    AnimeComment selectAnimeComment(Map map);

    List<AnimeCommentVo> selectAnimeCommentListVo(Map map);

    Integer addAnimeComment(AnimeComment animeComment);

    Integer updateAnimeComment(AnimeComment animeComment);

    Integer deleteAnimeComment(Integer integer);
}
